package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业关系对象 enterprise_relationship
 * 
 * @author ruoyi
 * @date 2024-03-24
 */
public class EnterpriseRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合作ID */
    private Integer cooperationId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String enterpriseName;

    /** 合作企业名称 */
    @Excel(name = "合作企业名称")
    private String cooperatingEnterpriseName;

    /** 生产类别 */
    @Excel(name = "生产类别")
    private Integer productionType;

    /** 合作企业优先级 */
    @Excel(name = "合作企业优先级")
    private Integer cooperationPriority;

    /** 合作企业关系 */
    @Excel(name = "合作企业关系")
    private Integer cooperationDirection;

    /** 合作生产说明 */
    @Excel(name = "合作生产说明")
    private String cooperationRemark;

    public void setCooperationId(Integer cooperationId) 
    {
        this.cooperationId = cooperationId;
    }

    public Integer getCooperationId() 
    {
        return cooperationId;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setCooperatingEnterpriseName(String cooperatingEnterpriseName) 
    {
        this.cooperatingEnterpriseName = cooperatingEnterpriseName;
    }

    public String getCooperatingEnterpriseName() 
    {
        return cooperatingEnterpriseName;
    }
    public void setProductionType(Integer productionType) 
    {
        this.productionType = productionType;
    }

    public Integer getProductionType() 
    {
        return productionType;
    }
    public void setCooperationPriority(Integer cooperationPriority) 
    {
        this.cooperationPriority = cooperationPriority;
    }

    public Integer getCooperationPriority() 
    {
        return cooperationPriority;
    }
    public void setCooperationDirection(Integer cooperationDirection) 
    {
        this.cooperationDirection = cooperationDirection;
    }

    public Integer getCooperationDirection() 
    {
        return cooperationDirection;
    }
    public void setCooperationRemark(String cooperationRemark) 
    {
        this.cooperationRemark = cooperationRemark;
    }

    public String getCooperationRemark() 
    {
        return cooperationRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cooperationId", getCooperationId())
            .append("enterpriseName", getEnterpriseName())
            .append("cooperatingEnterpriseName", getCooperatingEnterpriseName())
            .append("productionType", getProductionType())
            .append("cooperationPriority", getCooperationPriority())
            .append("cooperationDirection", getCooperationDirection())
            .append("cooperationRemark", getCooperationRemark())
            .toString();
    }
}
